﻿using Common.Enum;
using DryWCS.Model.Enum;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DryWCS.Model.Flatcar
{
    [SugarTable("Biz_FlatcarTask_His")]
    public class FlatcarTaskHisEntity
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, IsNullable = false)]
        public int Id { get; set; }

        [SugarColumn(IsNullable = true)]
        public int WMSOrderId { get; set; }

        public FlatcarTaskEnum TaskType { get; set; }

        public bool IsLock { get; set; } = false;

        public TaskStatusEnum Status { get; set; } = TaskStatusEnum.未执行;

        public DateTime CreateTime { get; set; } = DateTime.Now;

        public DateTime StartTime { get; set; } = DateTime.Now;

        public DateTime EndTime { get; set; } = DateTime.Now;

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

    }
}
